package com.spiro.gis.tiledownload.https;

import javax.net.ssl.X509TrustManager;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;

/**
 * @Author: Shaoping Huang
 * @Description:
 * @Date: 1/15/2018
 */
public class CustomTrustManager implements X509TrustManager {
    @Override
    public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException {
        return;
    }

    @Override
    public void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException {
        return;
    }


    @Override
    public X509Certificate[] getAcceptedIssuers() {
        return null;
    }
}
